package com.rg1906.service.impl;

import java.sql.SQLException;

import com.rg1906.dao.Impl.UpdateStudentScoreDaoImpl;

public class UpdateStudentScoreServiceImpl {
	UpdateStudentScoreDaoImpl dao=new UpdateStudentScoreDaoImpl();

	public int updateChineseScore(String studentNum, String chineseScore) throws SQLException {
		return dao.updateChineseScore(studentNum,chineseScore);
		
	}

	public int updateMathScore(String studentNum, String mathScore) throws SQLException {
		 return dao.updateMathScore(studentNum,mathScore);
		
	}

	public int updateEnglishScore(String studentNum, String englishScore) throws SQLException {
		 return dao.updateEnglishScore(studentNum,englishScore);
		
	}

	public int updateChemistryScore(String studentNum, String chemistryScore) throws SQLException {
		return  dao.updateChemistryScore(studentNum,chemistryScore);
		
	}

	public int updatePhysicsScore(String studentNum, String physicsScore) throws SQLException {
		 return dao.updatePhysicsScore(studentNum,physicsScore);
		
	}

	public int updateBiologyScore(String studentNum, String biologyScore) throws SQLException {
		 return dao.updateBiologyScore(studentNum,biologyScore);
		
	}
}
